Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#2454 Scrolling by the mouse wheel does not scroll up on the unopened Destination field #2469

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

LLGuru
Copy link
Contributor

@LLGuru LLGuru commented Aug 30, 2024

The destination list is

  • Last location
  • Home location
  • (disabled list item with no text)
  • [favorite locations]

The current implementation of the handleScrollWheel() method is getting stuck on the disabled item
and loses the selection, and after losing the selection this implementation even doesn't try to do anything

The proposed solution is based on using new methods selectNextItem() and selectPrevItem() in a cycle

@LLGuru LLGuru marked this pull request as ready for review August 30, 2024 14:10
@LLGuru LLGuru force-pushed the guru/viewer-2454-scrolling-by-the-mouse-wheel branch from 44f786c to 2f1ceef Compare August 30, 2024 14:12
@LLGuru LLGuru force-pushed the guru/viewer-2454-scrolling-by-the-mouse-wheel branch from 2f1ceef to 96ade1f Compare August 30, 2024 14:12
@LLGuru LLGuru merged commit 400c212 into develop Aug 30, 2024
7 checks passed
@LLGuru LLGuru deleted the guru/viewer-2454-scrolling-by-the-mouse-wheel branch August 30, 2024 14:13
@github-actions github-actions bot locked and limited conversation to collaborators Aug 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants